<?php
namespace onlineChat\model;
use onlineChat\lib\ExceptionHandle;
class Customer{
    static $waitQueues = [];
    static function addWaitQueue($uid,$name,$head_img,$tmp=1){
        if( !isset(self::$waitQueues[$uid]) ){
            self::$waitQueues[$uid] = [
                'to_id'=>$uid,
                'name'=>$name,
                'head_img'=>$head_img,
                'user_type'=>1,
                'chat_type'=>2,
                'tmp'=>$tmp
            ];
        }
    }
    static function delWaitQueue($uid){
        if( isset(self::$waitQueues[$uid]) ){
            unset(self::$waitQueues[$uid]);
        }
    } 
}